package main

import (
	"context"
	"github.com/gogf/gf/v2/frame/g"
)

func main() {
	ctx := context.TODO()
	//l1 := g.Log("logger")
	//l1.Info(ctx, "info1")
	ctx1 := context.TODO()
	infoLog := g.Log("info_logger")
	errLog := g.Log("err_logger")
	infoLog.Info(ctx, "这是一条info信息")
	errLog.Error(ctx1, "这是一条err信息")
}
